package calculatorEngine;

public class PassengerStanding {
	private String firstName;
	private String lastName;
	private String possibleComfortClass;
	private String preferences;
	private String paxSeat;
	private String ticketNumber;
	private String rowsInt;
	private String columnsString;
	private String passengerMappingAssistantPreference;
	
	public PassengerStanding (String a, String b, String c, String d, String e, String f, String g, String h){
		this.firstName = a;
		this.lastName = b;
		this.possibleComfortClass = c;
		this.preferences = d;
		this.paxSeat = e;
		this.ticketNumber = f;
		this.rowsInt = g;
		this.columnsString = h;
		
		if (d.equals("A")) passengerMappingAssistantPreference = Seat.AISLE;
		else if (d.equals("W")) passengerMappingAssistantPreference = Seat.WINDOW;
		else if (d.equals("M")) passengerMappingAssistantPreference = Seat.MIDDLE;
		else if (d.equals("N")) passengerMappingAssistantPreference = Seat.NONE;
		
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public String getPCClass() {
		return possibleComfortClass;
	}

	public String getPreferences() {
		return preferences;
	}

	public String getTicketNo() {
		return ticketNumber;
	}
	
	public String getPMAPreference() {
		return passengerMappingAssistantPreference;
	}

}